//
//  ITInputView.h
//  InTubePro
//
//  Created by seven on 2020/6/11.
//  Copyright © 2020 seven. All rights reserved.
//

#import "BaseView.h"

@protocol ITInputViewDelegate <NSObject>

@optional

- (void)onSendAction;

- (void)onInputViewHide;

@end

NS_ASSUME_NONNULL_BEGIN

@interface ITInputView : BaseView

IT_PROPERTY_STRONG UITextView *textView;

IT_PROPERTY_WEAK id <ITInputViewDelegate> delegate;

IT_PROPERTY_ASSIGN int timestamp;

+ (instancetype)shareView;


- (instancetype)showWithDelegate:(id<ITInputViewDelegate>)delegate;

- (void)hideView:(BOOL)clear;

- (NSString *)text;

@end

NS_ASSUME_NONNULL_END
